import gradio as gr

def greet(name):
    return f"你好啊！{name}"

gr.Interface(
   fn=greet,
   inputs="text",
   outputs="text",
   title="姓名问候器"
).launch()